package com.ygqh.baby.mapper;
import com.ygqh.baby.po.AdminCustomMessage;
import com.ygqh.baby.po.AdminCustomMessageExample;
import com.ygqh.baby.ao.QueryInfo;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface AdminCustomMessageMapper {
    int countByExample(AdminCustomMessageExample example);

    int deleteByExample(AdminCustomMessageExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AdminCustomMessage record);

    int insertSelective(AdminCustomMessage record);

    List<AdminCustomMessage> selectByExample(AdminCustomMessageExample example);

    AdminCustomMessage selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AdminCustomMessage record, @Param("example") AdminCustomMessageExample example);

    int updateByExample(@Param("record") AdminCustomMessage record, @Param("example") AdminCustomMessageExample example);

    int updateByPrimaryKeySelective(AdminCustomMessage record);

    int updateByPrimaryKey(AdminCustomMessage record);
    
    int countSuper(@Param ("q") Long userId);
    
    List<AdminCustomMessage> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param ("userId") Long userId);
    
}



